<?php
return array(
	
	// 加载扩展配置文件
	'LOAD_EXT_CONFIG' => 'user,db', 

	'URL_CASE_INSENSITIVE' => true, //默认false 表示URL区分大小写 true则表示不区分大小写
	'URL_MODEL'          => '2', //URL模式

	//开启路由
    'URL_ROUTER_ON' => true,
    'URL_ROUTE_RULES' => array( //定义路由规则
		'new/:id\d' => 'News/read',
		'new/:name' => 'News/read',
		'new/:year\d/:month\d' => 'News/archive',
    ),

    //多模块
	'MODULE_ALLOW_LIST' => array('Home','Admin','User'),
    'DEFAULT_MODULE' => 'Home',
	
	// 设置默认的模板主题
    'DEFAULT_THEME' => 'default',
	
	'LOG_RECORD' => true, // 开启日志记录
	'LOG_LEVEL'  =>'EMERG,ALERT,CRIT,ERR,WARN,SQL,DEBUG,NOTICE,INFO',
);